package com.wzdigit.wms.raw.client.response.gdn.report;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 出库单导出实体类
 * Created by zyf on 2021/9/10 13:24
 */
@Data
public class GdnExportExt {

    //主档
    @ApiModelProperty("发货单单号")
    private String gdnNo;

    private Integer hedaderstatus;

    @ApiModelProperty("发货单状态")
    private String  hedaderstatusStr;

    @ApiModelProperty("GDN类型")
    private String gdnType;

    @ApiModelProperty("GDN类型(中文描述)")
    private String gdnTypeStr;

    @ApiModelProperty("单据来源")
    private String dataSource;

    @ApiModelProperty("领料部门")
    private String rcvDept;

    @ApiModelProperty("供应商名称")
    private String consigneeName;

    @ApiModelProperty("优先级")
    private Integer priority;

    private String priorityStr;

    @ApiModelProperty("发货日期")
    private Date shipDate;

    @ApiModelProperty("制单时间")
    private Date hedaerCreateTime;

    @ApiModelProperty("审核时间")
    private Date approvedTime;

    @ApiModelProperty("制单人")
    private String hedaerCreateUser;

    @ApiModelProperty("审核人")
    private String approvedUser;

    @ApiModelProperty("备注")
    private String comments;

    //明细
    @ApiModelProperty("发货单行号")
    private Integer gdnLineNo;

    @ApiModelProperty("物料编码")
    private String skuCode;

    @ApiModelProperty("物料描述")
    private String skuDesc;

    @ApiModelProperty("货品规格")
    private String skuSpec;

    @ApiModelProperty("关联单行号")
    private String sourceShipNoticeItem;

    @ApiModelProperty("出库数量")
    private BigDecimal orderQty;

    @ApiModelProperty("发料仓库")
    private String whsName;

    @ApiModelProperty("拣料数量")
    private BigDecimal pickQty;

    @ApiModelProperty("发料数量")
    private BigDecimal shipQty;

    @ApiModelProperty("单位")
    private String unit;

    @ApiModelProperty("创建人")
    private String dtlCreateUser;

    @ApiModelProperty("创建时间")
    private Date dtlCreateTime;

    private String gdnRef5;

}
